package com.matt.service.care;

import com.matt.domain.Children;
import com.matt.domain.care.HLCareBaseRecord;
import com.matt.domain.care.HLDailyRecord;
import com.matt.service.care.po.HLDailyRecordPO;

import java.util.Date;
import java.util.List;


public interface HLDailyRecordService extends HLCareBaseService <HLDailyRecord, HLDailyRecordPO>{

    HLDailyRecord markCareRecord(String staffId, HLCareBaseRecord record);

    List<HLDailyRecord> markCareRecords(String staffId, List<HLCareBaseRecord> records);

    void pushCareRecords(String staffId, List<HLCareBaseRecord> records);
    void pushCareRecord(String staffId, HLCareBaseRecord record);

    /**
     * 附带返回头像和 birthday
     * @param areaId
     * @param staffId
     * @param childIds
     * @param daily
     * @return
     */
    List<HLDailyRecord> getAllByChildIdsAndDaily(String areaId, String staffId, String[] childIds, Date daily);
    List<HLDailyRecord> getAllByChildIdsAndDaily(String areaId, String staffId, List<Children> children, Date daily);

    HLDailyRecord grantDailyRecord(String areaId, String staffId, HLDailyRecord record);

}
